Release 10.1A: OpenEdge Development:
Progress Dynamics Web Development Guide
Applying your own style sheets
There are two methods for applying your own CSS files to your Progress Dynamics Web application:
- Edit the
default.htmlayout file and change the style sheet links so that they point to your own CSS files.The following example shows the HTML markup for these links:
Change the markup displayed in bold so that the links point to your own CSS files.
- Add the name of your CSS file to the
StyleSheetFileattribute in a property sheet.Use this method when you want to override the style sheets linked to in the
default.htmlayout file to apply a style to a particular object.The files specified in the
StyleSheetFileattribute override the style sheet files specified in thedefault.htmlayout file.You can specify a number of files in the
StyleSheetFileattribute. The order in which you add CSS files is important. The last file in the list overrides the settings in preceding files.To associate your own CSS file with your Web application, add the filename to the
StyleSheetFileattribute. TheStyleSheetFileattribute is listed in the Dynamics Property Sheet dialog box. If you want to apply a CSS file to a particular object, open the object in AppBuilder and then select WindowDynamic Property Sheet. If you want to apply a CSS file to a container, open the container in the Container Builder and then select Advanced
Properties.
As shown in Figure 5–4, the value for
StyleSheetFileis a comma-delimited list of CSS files. The UI Manager adds a reference to each CSS file in the list to the HTML header of the Web application page that it sends to a client.Figure 5–4: StyleSheetFile in the Dynamic Properties dialog box
![]()
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |